<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:forgeview="http://jboss.org/forge/view"	
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{saleLoanContractConfiscateBean.id}"/>
		<f:event type="preRenderView" listener="#{saleLoanContractConfiscateBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Create Sale Loan Contract Confiscate"/>

	<ui:define name="header">
		Sale Loan Contract Confiscate
	</ui:define>

	<ui:define name="subheader">
		<c:choose>
			<c:when test="#{!empty saleLoanContractConfiscateBean.id}">
				Edit existing Sale Loan Contract Confiscate
			</c:when>
			<c:otherwise>
				Create a new Sale Loan Contract Confiscate
			</c:otherwise>
		</c:choose>
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="create">
			<h:messages globalOnly="true" styleClass="error"/>

			<h:panelGrid columnClasses="label,component,required" columns="3">
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleLoanContract" value="Sale Loan Contract:"/>
				<h:panelGroup>
					<h:selectOneMenu converter="#{saleLoanContractBean.converter}" id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleLoanContract" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.saleLoanContract}">
						<f:selectItem/>
						<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{saleLoanContractBean.all}" var="_item"/>
					</h:selectOneMenu>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleLoanContract" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateConfiscateDate" value="Confiscate Date:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateConfiscateDate" maxLength="19" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.confiscateDate}">
						<f:convertDateTime pattern="MMM d, yyyy hh:mm:ss a" type="both"/>
					</h:inputText>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateConfiscateDate" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateConfiscateByEmpNo" value="Confiscate By Emp No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateConfiscateByEmpNo" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.confiscateByEmpNo}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateConfiscateByEmpNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateConfiscateMemo" value="Confiscate Memo:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateConfiscateMemo" maxLength="300" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.confiscateMemo}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateConfiscateMemo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleConfiscateMemo" value="Sale Confiscate Memo:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleConfiscateMemo" maxLength="300" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.saleConfiscateMemo}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleConfiscateMemo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateNetSalePrice" value="Net Sale Price:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateNetSalePrice" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.netSalePrice}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateNetSalePrice" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSalePrice" value="Sale Price:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSalePrice" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.salePrice}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSalePrice" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateVatPerc" value="Vat Perc:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateVatPerc" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.vatPerc}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateVatPerc" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateVatVal" value="Vat Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateVatVal" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.vatVal}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateVatVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateStatusIsIncVat" value="Status Is Inc Vat:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateStatusIsIncVat" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.statusIsIncVat}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateStatusIsIncVat" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleProfit" value="Sale Profit:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleProfit" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.saleProfit}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleProfit" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleConfiscateByEmpNo" value="Sale Confiscate By Emp No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleConfiscateByEmpNo" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.saleConfiscateByEmpNo}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleConfiscateByEmpNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleConfiscateDate" value="Sale Confiscate Date:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleConfiscateDate" maxLength="19" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.saleConfiscateDate}">
						<f:convertDateTime pattern="MMM d, yyyy hh:mm:ss a" type="both"/>
					</h:inputText>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleConfiscateDate" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscatePayPartNo" value="Pay Part No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscatePayPartNo" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.payPartNo}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscatePayPartNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateContractPayPartNo" value="Contract Pay Part No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateContractPayPartNo" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.contractPayPartNo}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateContractPayPartNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateReceiptCode" value="Receipt Code:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateReceiptCode" maxLength="50" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.receiptCode}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateReceiptCode" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateReceiptByEmpNo" value="Receipt By Emp No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateReceiptByEmpNo" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.receiptByEmpNo}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateReceiptByEmpNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateReceiptManualStatus" value="Receipt Manual Status:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateReceiptManualStatus" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.receiptManualStatus}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateReceiptManualStatus" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateConfiscateJnSpRecNo" value="Confiscate Jn Sp Rec No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateConfiscateJnSpRecNo" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.confiscateJnSpRecNo}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateConfiscateJnSpRecNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleJnSpRecNo" value="Sale Jn Sp Rec No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleJnSpRecNo" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.saleJnSpRecNo}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateSaleJnSpRecNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscatePrincipalRemainVal" value="Principal Remain Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscatePrincipalRemainVal" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.principalRemainVal}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscatePrincipalRemainVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscatePayVal" value="Pay Val:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscatePayVal" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.payVal}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscatePayVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerNameTitleNo" value="Buyer Name Title No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerNameTitleNo" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.buyerNameTitleNo}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerNameTitleNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerFirstName" value="Buyer First Name:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerFirstName" maxLength="50" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.buyerFirstName}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerFirstName" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerLastName" value="Buyer Last Name:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerLastName" maxLength="50" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.buyerLastName}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerLastName" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerIdCardNo" value="Buyer Id Card No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerIdCardNo" maxLength="20" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.buyerIdCardNo}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerIdCardNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrNo" value="Buyer Addr No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrNo" maxLength="50" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.buyerAddrNo}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrMoo" value="Buyer Addr Moo:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrMoo" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.buyerAddrMoo}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrMoo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrBuilding" value="Buyer Addr Building:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrBuilding" maxLength="100" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.buyerAddrBuilding}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrBuilding" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrSoi" value="Buyer Addr Soi:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrSoi" maxLength="50" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.buyerAddrSoi}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrSoi" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrRoad" value="Buyer Addr Road:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrRoad" maxLength="50" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.buyerAddrRoad}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrRoad" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrVillage" value="Buyer Addr Village:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrVillage" maxLength="50" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.buyerAddrVillage}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddrVillage" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddr2No" value="Buyer Addr 2No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddr2No" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.buyerAddr2No}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddr2No" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddr3No" value="Buyer Addr 3No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddr3No" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.buyerAddr3No}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddr3No" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddr4No" value="Buyer Addr 4No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddr4No" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.buyerAddr4No}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddr4No" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddr5" value="Buyer Addr 5:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddr5" maxLength="50" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.buyerAddr5}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerAddr5" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerPhoneNo" value="Buyer Phone No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerPhoneNo" maxLength="20" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.buyerPhoneNo}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerPhoneNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerMobileNo" value="Buyer Mobile No:"/>
				<h:panelGroup>
					<h:inputText id="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerMobileNo" maxLength="20" value="#{saleLoanContractConfiscateBean.saleLoanContractConfiscate.buyerMobileNo}"/>
					<h:message for="saleLoanContractConfiscateBeanSaleLoanContractConfiscateBuyerMobileNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
			</h:panelGrid>

			<div class="buttons">
				<h:commandLink value="Save" action="#{saleLoanContractConfiscateBean.update}" styleClass="btn btn-primary"/>
				<c:choose>
					<c:when test="#{!empty saleLoanContractConfiscateBean.id}">
						<h:link value="Cancel" outcome="view" styleClass="btn btn-primary">
							<f:param name="id" value="#{saleLoanContractConfiscateBean.id}"/>
						</h:link>
						<h:commandLink value="Delete" action="#{saleLoanContractConfiscateBean.delete}" styleClass="btn btn-primary"/>
					</c:when>
					<c:otherwise>
						<h:link value="Cancel" outcome="search" styleClass="btn btn-primary"/>
					</c:otherwise>
				</c:choose>
			</div>
		</h:form>
	</ui:define>

</ui:composition>